package org.itboys.core.entity.mysql;

import org.itboys.mysql.entity.BaseMySqlEntity;

import java.math.BigDecimal;

/**
 * Auther: 罗尧坤
 * Date: 2018/8/16
 * Description: 运费配置
 */

public class SundayFreight extends BaseMySqlEntity {
    /**
     * 所有关于钱的都用这个
     */
    private BigDecimal totalPrice;//运费全额
    private BigDecimal minPrice;//最小运费
    private BigDecimal maxPrice;//最大运费, 可为空

    public SundayFreight() {
    }

    public SundayFreight(BigDecimal totalPrice, BigDecimal minPrice, BigDecimal maxPrice) {
        this.totalPrice = totalPrice;
        this.minPrice = minPrice;
        this.maxPrice = maxPrice;
    }

    public BigDecimal getTotalPrice() {
        return totalPrice;
    }

    public void setTotalPrice(BigDecimal totalPrice) {
        this.totalPrice = totalPrice;
    }

    public BigDecimal getMinPrice() {
        return minPrice;
    }

    public void setMinPrice(BigDecimal minPrice) {
        this.minPrice = minPrice;
    }

    public BigDecimal getMaxPrice() {
        return maxPrice;
    }

    public void setMaxPrice(BigDecimal maxPrice) {
        this.maxPrice = maxPrice;
    }
}
